<?php
  session_start();
  define('UserPhotoPath','../images/');   //用户头像存放的路径
  require_once('../common/config.php');   
  require_once('../common/ConnDB.php');  
  if(!isset($_SESSION['adminname']))
  {
    echo '无权限！请登录！'.'<a href="power/login.html">如果没有跳转，请点这里跳转</a>';
    header("refresh:3;admin.php?c=user&m=listusers = admin.php?c=user&m=listusers");
    exit();
  }
?>

<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>社团登记注册管理系统</title>

    <!-- Bootstrap -->
    <link href="../css/bootstrap.min.css" rel="stylesheet">
    <link href="../css/dashboard.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <!-- <nav> 标签定义导航链接的部分。 -->
    <nav class="navbar navbar-inverse navbar-fixed-top">
        <div class="container-fluid">
          <div class="navbar-header">
            <a class="navbar-brand" href="../index.php?c=index&m=index">
              <img alt="Brand" src="../images/258258.jpg">
            </a>
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">社团登记注册管理系统</a>
          </div>

          <div id="navbar" class="navbar-collapse collapse" aria-expanded="false" style="height: 1px;">
            <ul class="nav navbar-nav navbar-right">
            <a class="navbar-brand" href="../index.php?c=index&m=index">青年志愿者协会前台</a>
              <li><a href="power/logout.php">注销</a></li>
            </ul>
          </div>
        </div>
    </nav>

    <div class="container">
      <div class="row">
        <!-- 这里添加代码 -->
        <div class="col-sm-3 col-md-2">
          <ul class="nav nav-sidebar">
            <li>
              <a href="Admin.php?c=De&m=department">部门管理</a>
            </li>
          </ul>
          <ul class="nav nav-sidebar">
            <li>
              <a href="#" data-target="#VT" data-toggle="collapse" class="accordion-toggle" aria-expanded="true">
            社团管理</a>
              <ul style="padding-left: 20px;" class="nav collapse" id="VT" aria-expanded="true">
                <li>
                  <a href="Admin.php?c=user&m=listusers">社团人员管理</a>
                </li>
                <li>
                  <a href="Admin.php?c=So&m=society">社团活动管理</a>
                </li>
              </ul>
            </li>
          </ul>
          <ul class="nav nav-sidebar">
            <li>
              <a href="Admin.php?c=Co&m=cooperate">合作相关管理</a>
            </li>
          </ul>
        </div>